import request from '@/utils/request'

// 获取 列表分页数据  post 传data参数  get传params参数getUserByDepId
export function getAllFather() {
  return request({
    url: '/department/getAllFather',
    method: 'post'
  })
}

export function getUserByDepId(id) {
  return request({
    url: '/user/getUserByDepId',
    method: 'get',
    params: { id: id }
  })
}
